import * as React from 'react'

interface IProps {
	data: {
		title: string,
		content: string,
		img: string
	}
}

export default class ListView extends React.Component<IProps>{
	render() {
		const { title, content, img } = this.props.data
		return (
			<div>
				<p>{title}</p>
				<p>{content}</p>
				<p>{img}</p>
			</div>
		)
	}
}